import React from 'react';
import './index.scss';
export default function CssPenetrate() {
  return (
    <div className="cssPenetrate-main">
      <div className="cssPenetrate-main__dialog">
        <div className="cssPenetrate-main__content">
          设置overscroll-behavior-y: contain; <br />
          必须要有滚动才能解决滚动穿透 滚动这里不会滚动到父级盒子，
        </div>
      </div>
      <div className="cssPenetrate-main__content">外盒子</div>
    </div>
  );
}
